package com.person;

import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.util.DigestUtils;
import sun.security.util.Password;

import java.util.Arrays;

//@SpringBootTest
public class SpringBootApplication {

    @Test
    public void main() {




        String p = "123455";

        byte[] password = p.getBytes();
        String pass = Arrays.toString(password);
        System.out.println(pass);

        String s = DigestUtils.md5DigestAsHex(password);
        System.out.println(s);

    }
}
